package com.oms.bean;

public class Order {
	
	private int id;
	private int user_id;
	private int food_id;
	private int food_number;
	private int food_price;
	private int total_price;
	private String order_time;
	private String whether_send;
	
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public int getUser_id() {
		return user_id;
	}
	public void setUser_id(int user_id) {
		this.user_id = user_id;
	}
	public int getFood_id() {
		return food_id;
	}
	public void setFood_id(int food_id) {
		this.food_id = food_id;
	}
	public int getFood_number() {
		return food_number;
	}
	public void setFood_number(int food_number) {
		this.food_number = food_number;
	}
	public int getFood_price() {
		return food_price;
	}
	public void setFood_price(int food_price) {
		this.food_price = food_price;
	}
	public int getTotal_price() {
		return total_price;
	}
	public void setTotal_price(int total_price) {
		this.total_price = total_price;
	}
	public String getOrder_time() {
		return order_time;
	}
	public void setOrder_time(String order_time) {
		this.order_time = order_time;
	}
	public String getWhether_send() {
		return whether_send;
	}
	public void setWhether_send(String whether_send) {
		this.whether_send = whether_send;
	}
	@Override
	public String toString() {
		return "Order [id=" + id + ", user_id=" + user_id + ", food_id=" + food_id + ", food_number=" + food_number
				+ ", food_price=" + food_price + ", total_price=" + total_price + ", order_time=" + order_time
				+ ", whether_send=" + whether_send + "]";
	}
	public Order(int id, int user_id, int food_id, int food_number, int food_price, int total_price, String order_time,
			String whether_send) {
		super();
		this.id = id;
		this.user_id = user_id;
		this.food_id = food_id;
		this.food_number = food_number;
		this.food_price = food_price;
		this.total_price = total_price;
		this.order_time = order_time;
		this.whether_send = whether_send;
	}
	public Order(int user_id, int food_id, int food_number, int food_price, int total_price, String order_time,
			String whether_send) {
		super();
		this.user_id = user_id;
		this.food_id = food_id;
		this.food_number = food_number;
		this.food_price = food_price;
		this.total_price = total_price;
		this.order_time = order_time;
		this.whether_send = whether_send;
	}
	public Order() {
		super();
		// TODO Auto-generated constructor stub
	}
	
}
